<%@ page import="com.atguigu.bean.User" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
  <head>
    <title>$Title$</title>
  </head>
  <body>
    <%
      User user = new User();
      pageContext.setAttribute("pageContext","pageContext域对象数据");
      request.setAttribute("request","request域对象数据");
      session.setAttribute("session","session域对象数据");
      application.setAttribute("application","application域对象数据");
      //request.getRequestDispatcher("/testScope.jsp").forward(request, response);
      //response.sendRedirect("testScope.jsp");
    %>
    <jsp:forward page="/include/testInclude.jsp"></jsp:forward>
    index.jsp<br>
    pageContext：<%=pageContext.getAttribute("pageContext")%><br>
    request：<%=request.getAttribute("request")%><br>
    session：<%=session.getAttribute("session")%><br>
    application：<%=application.getAttribute("application")%><br>
  </body>
</html>
